package configuration;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class TotalConfiguration implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        // 导入不同配置文件的全类名
        return new String[]{"configuration.TestConfiguration","configuration.FunConfiguration"};
    }
}
